﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;
using System.Web.Mvc;

namespace EasyStep.Website.Models
{
    public class TestInfoCreateModel
    {
        [Required]
        [Display(Name = "Test name")]
        public string Name { get; set; }

        [Required]
        [Display(Name = "Project")]
        public string ProjectName { get; set; }

        [Required]
        [StringLength(1000, ErrorMessage = "The {0} must be at least {2} characters long.", MinimumLength = 5)]
        [DataType(DataType.Password)]
        [Display(Name = "Short Description")]
        public string Password { get; set; }


        [Display(Name = "Disabled")]
        public bool Disabled { get; set; }
    }
}
